/*
* 数字每三位加上逗号
* */
const numerFormat = (num) => {
  return (num).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')
}

export default numerFormat
